package manager;

public class Connection {
	private int intConnectionInformation;
	private String stringConnectionInformation;
	private boolean inUse;
	
	public boolean isInUse() {
		return inUse;
	}

	public void setInUse(boolean inUse) {
		this.inUse = inUse;
	}

	{
		intConnectionInformation = 0;
		stringConnectionInformation = "some information";
	}

	@Override
    public String toString() {
	    return "Connection [intConnectionInformation="
	            + intConnectionInformation + ", stringConnectionInformation="
	            + stringConnectionInformation + ", inUse=" + inUse + "]";
    }

	//avoid the creation of an Object
	Connection() {
	    super();
	    // TODO Auto-generated constructor stub
    }
	
	
}
